8 #ifndef BATSRUSINTERPOLATOR_H_
9 #define BATSRUSINTERPOLATOR_H_
25 float interpolate(
const std::string&,
const float& c0,
const float& c1,
const float& c2);
26 float interpolate(
const std::string&,
const float& c0,
const float& c1,
const float& c2,
float& dc0,
27 float& dc1,
float& dc2);
28 float interpolate(
const long& variable_id,
const float& c0,
const float& c1,
const float& c2);
29 float interpolate(
const long& variable_id,
const float& c0,
const float& c1,
const float& c2,
float& dc0,
float& dc1,
34 int find_octree_block(
float x,
float y,
float z,
int old_block_number);
35 int climb_octree(
int root,
float x,
float y,
float z);
44 long int ib, ib_c[8], ix_c[8], iy_c[8], iz_c[8];
45 float xx_c[8], yy_c[8], zz_c[8];
47 const std::vector<float> * block_x_min_array;
48 const std::vector<float> * block_y_min_array;
49 const std::vector<float> * block_z_min_array;
50 const std::vector<float> * block_x_max_array;
51 const std::vector<float> * block_y_max_array;
52 const std::vector<float> * block_z_max_array;
54 const std::vector<float> * block_x_center_array;
55 const std::vector<float> * block_y_center_array;
56 const std::vector<float> * block_z_center_array;
57 const std::vector<int> * block_child_id_1_array;
58 const std::vector<int> * block_child_id_2_array;
59 const std::vector<int> * block_child_id_3_array;
60 const std::vector<int> * block_child_id_4_array;
61 const std::vector<int> * block_child_id_5_array;
62 const std::vector<int> * block_child_id_6_array;
63 const std::vector<int> * block_child_id_7_array;
64 const std::vector<int> * block_child_id_8_array;
66 const std::vector<int> * block_child_count_array;
67 const std::vector<int> * block_at_amr_level_array;
77 bool previousWasValid;